iOS 7 App Development Essentials by Neil Smyth
Author:Neil Smyth
Language: eng
Format: mobi
Publisher: Payload Media
Published: 2013-10-07T16:02:53+00:00
48.8 The UICollectionViewDelegate Protocol
The UICollectionViewDelegate protocol defines a set of optional methods which, if implemented, will be called when certain events take place within the corresponding collection. These methods relate primarily to handling user interaction with the collection view elements (such as selecting a specific cell). Some of the key methods in this protocol include:
· collectionView:shouldSelectItemAtIndexPath: - Returns a boolean value indicating whether the specified item is selectable by the user.
· collectionView:didSelectItemAtIndexPath: - Called by the collection view when the specified item has been selected by the user.
· collectionView:shouldDeselectItemAtIndexPath: - Returns a boolean value to indicate whether the specified item may be deselected by the user.
· collectionView:didDeselectItemAtIndexPath: - Called by the collection view when the specified item has been selected by the user.
· collectionView:shouldHighlightItemAtIndexPath: - Returns a boolean value indicating whether the specified item should be highlighted as a pre-cursor to possible selection by the user.
· collectionView:didHighlightItemAtIndexPath: - Called by the collection view when the specified item has been highlighted.
· collectionView:didUnhighlightItemAtIndexPath:- Called by the collection view when the specified item has been un-highlighted.
· collectionView:didEndDisplayingCell:forItemAtIndexPath:- Called by the collection view when the specified cell has been removed from the collection view.
· collectionView:didEndDisplayingSupplementaryView:forElementOfKind:atIndexPath:- Called by the collection view when the specified supplementary view has been removed from the collection view.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9915)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9796)
The Mikado Method by Ola Ellnestam Daniel Brolund(9778)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7778)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7763)
Grails in Action by Glen Smith Peter Ledbrook(7696)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Windows APT Warfare by Sheng-Hao Ma(6841)
Layered Design for Ruby on Rails Applications by Vladimir Dementyev(6569)
Blueprints Visual Scripting for Unreal Engine 5 - Third Edition by Marcos Romero & Brenden Sewell(6432)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6413)
Kotlin in Action by Dmitry Jemerov(5062)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4317)
Functional Programming in JavaScript by Mantyla Dan(4038)
Solidity Programming Essentials by Ritesh Modi(4002)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3792)
Unity 3D Game Development by Anthony Davis & Travis Baptiste & Russell Craig & Ryan Stunkel(3737)
The Ultimate iOS Interview Playbook by Avi Tsadok(3712)
